<extend name="Base/common"/>

<block name="body">
  <div class="activity">
  <style>
    .activity ul.list li{margin-bottom: 20px;margin-top: 10px;}
  </style>
    <ul class="list">
      <notempty name="data.list">
        <volist name="data.list" id="vo">
          <li>
            <a href="{:U('Activity/detail', array('id' => $vo['id']))}" title="{$vo.name}" target="_blank"><img src="__ROOT__{$vo.src}" alt="{$vo.name}"></a>
          </li>
        </volist>
      </notempty>
    </ul>
  </div>
</block>

<block name="script">
  <script type="text/javascript">
      seajs.use('activity');
  </script>
</block>